GRAPHREP

AVAL atype:"Type"  

PEN color:$000000 w:0.1cm

IF (atype = "Basic feature")
   SET f:"green"      
ELSIF (atype = "Component")
   SET f:"orange"  
ELSIF (atype = "Sub-component")
   SET f:"lightblue"  
ELSIF (atype = "Raw material")
   SET f:"yellow"    
ENDIF

GRAPHREP
PEN color:(f)
FILL color:(f)
RECTANGLE x:-27.19999999999999pt y:-41.5pt h:81.88pt w:52.688pt
PEN color:(f)
FILL color:(f)
RECTANGLE x:-45pt y:-21.193759999999997pt h:40.61248pt w:89pt

FONT h:0.35cm color:$000000 bold
ATTR "Name" x:0.00cm  y:0.00cm w:c h:c